#include<bits/stdc++.h>
#define PI 3.1415927
using namespace std;
int main(){
	double r;
	while(cin>>r){
		cout <<fixed << setprecision(3)<< 4*PI*r*r*r/3<<endl;
	}
	return 0;
}
